<%if(tempId == 'Navigatior'){%>
  <div class="navbar-inner">
    <div class="container">
      <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
      </a>
      <a class="brand" href="#">大饼的私房菜</a>
      <div class="nav-collapse">
      <ul id="topNavUL" class="nav">
		  <li class="active"><a href="#IndexModule" title="首页">首页</a></li>
		  <li><a href="#IdearModule" title="创意中心">创意中心</a></li>
		  <li><a href="#BlogModule" title="博客">博客</a></li>
		</ul>
		<%if(data.userName){%>
		<ul class="nav nav-pills pull-right">
			  <li class="dropdown">
			    <a class="dropdown-toggle" data-toggle="dropdown" href="#">
			        <b><%=data.userName%></b>
			        <b class="caret"></b>
			      </a>
			    <ul class="dropdown-menu">
			      <li><a id="myProfile" href="#">个人资料</a></p></li>
			      <li><a href="#" id="logoutBtn">退出</a></li>
			    </ul>
			  </li>
			</ul>
		<%}else{%>
		 <ul id="loginUL" class="nav pull-right">
		 <li><a href="#" id="loginBtn">登陆</a></li>
		  <li><a href="#" id="registerBtn">注册</a></li>
		</ul>
		<%}%>
		</div>
    </div>
  </div>
<% } else if(tempId == 'Register'){%>
 <div class="modal-header">
			 <a class="close" data-dismiss="modal">X</a>
			 <h3>欢迎注册，创意世界</h3>
			 </div>
<div class="modal-body">
  <form class="form-horizontal" method="post">
   <fieldset>
			
    <div class="control-group">
      <label class="control-label" for="userAccount">注册邮箱:</label>
      <div class="controls">
        <input type="email"	id="userAccount" name="userAccount" class="input-xlarge" placeholder="邮箱账号"/>
		<span class="help-inline error"></span>
      </div>
    </div>

  <div class="control-group">
      <label class="control-label" for="userName">昵称:</label>
      <div class="controls">
        <input type="email"	id="userName" name="userName" class="input-xlarge" placeholder="昵称"/>
		<span class="help-inline error"></span>
      </div>
    </div>

     <div class="control-group">
      <label class="control-label" for="password">密码:</label>
      <div class="controls">
        <input type="password" name="password" class="input-xlarge" placeholder="设置密码"/>
		<span class="help-inline error"></span>
      </div>
    </div>
    
    <div class="control-group">
      <label class="control-label" for="password1">确认密码:</label>
      <div class="controls">
        <input type="password" name="password1" class="input-xlarge" placeholder="再次输入密码"/>
		<span class="help-inline error"></span>
      </div>
    </div>
    
    <div class="control-group">
      <label class="control-label" for="captcha">验证码:</label>
      <div class="controls">
        <input type="captcha" name="captcha" class="input-small" placeholder="输入右侧验证码"/>
        <img src="/captcha/captchaImage" id="captchaImg" width="55" height="20"  style="margin-bottom: 1px"/>
        <a href="#newcaptcha" id="newCaptcha">看不清，换一个</a>
		<span class="help-inline error"></span>
      </div>
    </div>
    
    <div class="form-actions">
    <a class="btn" data-dismiss="modal">取消</a>
	<input type="reset" class="btn" value="重置"/>
	<input id="registerSubBtn" type="button" class="btn btn-primary" value="注册"/>
   </div>
 </fieldset>	
</form>
</div>

<% } else if(tempId == 'Login'){%>

 <div class="modal-header">
			 <a class="close" data-dismiss="modal">X</a>
			 <h3>登陆</h3>
			 </div>
<div class="modal-body">
  <form class="form-horizontal" method="post">
   <fieldset>
			
    <div class="control-group">
      <label class="control-label" for="userName">用户名:</label>
      <div class="controls">
        <input type="email"	id="userName" name="userName" class="input-xlarge" placeholder="邮箱账号"/>
		<span class="help-inline error"></span>
      </div>
    </div>

     <div class="control-group">
      <label class="control-label" for="password">密码:</label>
      <div class="controls">
        <input type="password" name="password" class="input-xlarge"/>
		<span class="help-inline error"></span>
      </div>
    </div>
    
    <div class="form-actions">
    <a class="btn" data-dismiss="modal">取消</a>
	<input type="reset" class="btn" value="重置"/>
	<input id="loginSubBtn" type="button" class="btn btn-primary" value="登陆"/>
   </div>
 </fieldset>	
</form>
</div>

<% } else if(tempId == 'UserProfile'){%>

 <div class="modal-header">
    <a class="close" data-dismiss="modal">X</a>
    <h3><%=data.userName%></h3>
  </div>
<div class="modal-body">
 <form method="post" class="form-horizontal">
  <fieldset>
    
    <div class="control-group">
      <label class="control-label" for="userName">用户名:</label>
      <div class="controls">
        <strong><%=data.userName%></strong>
        <input type="text"	name="userName" class="input-xlarge" placeholder="Your Nicky Name" value="<%=data.userName%>"/>
		<span class="help-inline error"></span>
      </div>
    </div>

     <div class="control-group">
      <label class="control-label" for="userAccount">邮箱:</label>
      <div class="controls">
        <strong><%=data.userAccount%></strong>
        <input type="text"	name="userAccount" class="input-xlarge" placeholder="email" value="<%=data.userAccount%>"/>
		<span class="help-inline error"></span>
      </div>
    </div>
    
     <div class="control-group">
      <label class="control-label" for="createDate">注册时间:</label>
      <div class="controls">
        <strong><%=data.createDate%></strong>
        <input type="text"	id="createDate" name="createDate" class="input-xlarge" value="<%=data.createDate%>" disabled="true"/>
		<span class="help-inline error"></span>
      </div>
    </div>

 </fieldset>
	<div class="form-actions">
	  <input type="reset" value="重置" class="btn" />
	  <input id="saveEmployeeBtn" type="button" value="保存" class="btn btn-primary" />
	</div>
 </form>
</div>
<div class="modal-footer">
    <a href="#" class="btn" data-dismiss="modal">关闭</a>
    <a href="updateBtn" id="updateProfile" class="btn btn-primary">修改</a>
</div>

<%}%>
